#ifndef CHANGEUSERINFO_H
#define CHANGEUSERINFO_H

#include <QWidget>
#include "global.h"
#include <QDebug>
#include <QMessageBox>
#include <QSqlQuery>
#include <QSqlDatabase>

namespace Ui {
class ChangeUserInfo;
}

class ChangeUserInfo : public QWidget
{
    Q_OBJECT

signals:
    void changeInfo(User u);

public:
    explicit ChangeUserInfo(User u,QWidget *parent = nullptr);
    ~ChangeUserInfo();

private slots:
    void on_btnCancel_clicked();

    void on_btnConfirm_clicked();

private:
    Ui::ChangeUserInfo *ui;
};

#endif // CHANGEUSERINFO_H
